package com.yjx.mapper;

import com.yjx.vo.Owner;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 10657
* @description 针对表【owner】的数据库操作Mapper
* @createDate 2023-05-10 22:20:21
* @Entity com.yjx.vo.Owner
*/
public interface OwnerMapper extends BaseMapper<Owner> {

    Owner queryOwnerByName(String userName);

    List<Owner> queryOwnerAll(Owner owner);


    void deleteOwnerUserByUserName(@Param("username2") String username);

    Owner queryOwnerById(@Param("id") long parseLong);

    List<Integer> queryOwnerBuilding();

    List<Integer> queryOwnerHouse();
}




